package com.dc.refactoring._3_重新组织数据._11_ReplaceTypeCodeWithClass;

import com.dc.refactoring._3_重新组织数据._11_ReplaceTypeCodeWithClass.step1.Person;
import com.dc.refactoring._3_重新组织数据._11_ReplaceTypeCodeWithClass.step3.BloodGroup;

public class Test {

    public static void main(String[] args){

        // 原
        Person person = new Person(Person.A);


        // 新
        new com.dc.refactoring._3_重新组织数据._11_ReplaceTypeCodeWithClass.step3.Person(BloodGroup.A);
    }

}
